Skip to content

Conversation

komh
Copy link
Contributor

@komh komh commented Nov 29, 2024

Print buffered warnings before free them.

Print buffered warnings before free them.

Signed-off-by: KO Myung-Hun <[email protected]>
@hpax
Copy link
Member

hpax commented Oct 4, 2025

There is something fishy about this.
This strlist_free(&warn_list) is invoked when the warnings are to be flushed because they happened on the previous pass and that pass completed successfully. So they very explicitly SHOULD NOT be printed.

Could you explain what problem you ran in to where some applicable warning was never emitted?

@komh
Copy link
Contributor Author

komh commented Oct 5, 2025

I'm sorry I cannot reproduce now. And I've confirmed that this patch printed warnings repeatedly already printed as you said.

It's ok to close this PR. Thanks!

@hpax hpax closed this Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants